www.gusucode.com > matlab编程NSCT分解 图像融合 各个融合指标评价体系 分解源码程序 > matlab编程NSCT分解 图像融合 各个融合指标评价体系 分解源码程序/NSCT/DEMO.m
%%%%%%%%%%%%%%%%%%%%%提取多光谱图像的I分量、SAR图像进行相位一致性处理%%%%%%%%%%% im=imread('1_MS.png'); %load image1M.mat; %im=A; im=im2double(im); %imshow(im); [I,H,S]=IHS(im); %Insct= nsct(I,4); %phaseCong = phasecongmono(Insct{1}); %对I分量进行相位一致性 phaseCong = phasecongmono(I); %imshow(phaseCong); ims=imread('SAR.jpg'); %load image1P.mat; %ims=B; ims=im2double(ims); phaseCongs = phasecongmono(ims); %对SAR图像进行相位一致性 %figure,imshow(phaseCongs); F=modIHS(im,ims); Inew=threshold(phaseCong,phaseCongs,I,3); %处理之后得到的新I分量 figure,imshow(Inew); image=invIHS(Inew,H,S); figure,imshow(image);